package com.mlming.springboot.service;

import com.mlming.springboot.form.CardForm;
import com.mlming.springboot.pojo.Card;
import com.mlming.springboot.pojo.Comment;
import com.mlming.springboot.vo.CardVo;
import com.mlming.springboot.vo.ResponseVo;
import com.mlming.springboot.vo.UserVo;

import java.util.List;

public interface CardService {
    ResponseVo addCard(CardForm cardForm);

    ResponseVo<List<CardVo>> getCardList();

    ResponseVo<CardVo> getCard(Integer id);

    ResponseVo addPraise(Integer id, Integer praises);

    ResponseVo addComments(Integer id, Comment comment);
}
